// 导入工具类 @项目根路径
import request from "@/utils/request"

//获取就诊人信息
export const getAllDoubtsValid = (comment) => {
    //数据处理
    if(comment.flag==0){
        return request.get(`/doubt/getAllDoubtsValid`,comment);
    }else{
        return request.get(`/doubt/getAllDoubtsUnValid`,comment);
    }
}
//查询
export const getAllDoubts = (doubtId) => {
    //数据处理
    return request.get(`/doubt/getAllDoubts?doubtId=${doubtId}`);
}
//注销提问
export const delDoubt = (doubtId) => {
    //数据处理
    return request.get(`/doubt/delDoubt?doubtId=${doubtId}`);
}

